package com.platform.task;

import com.platform.service.ApiWxFromidService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("fromidTask")
public class fromidTask {
    private Logger logger = LoggerFactory.getLogger(getClass());


    @Autowired
    ApiWxFromidService apiWxFromidService;

    public void cleanfromid() {
        logger.info("我是清除无效fromid的方法，正在被执行");

        apiWxFromidService.deleteTimeOutFromid();

        logger.info("我是清除无效fromid的方法，执行已完成");
    }
}
